<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java="com.alex.mda.jdbc"
	exclude-result-prefixes="java">

	<xsl:output method="html" />

	<xsl:template match="/">
		<table cellpadding="2" cellspacing="2">
			<thead>
				<tr>
					<td colspan="100"></td>
				</tr>
				<tr style="font-weight: bold; color: white; background: black;">
					<xsl:for-each select="table/head">
						<td>
							<b>
								<xsl:value-of select="." />
							</b>
						</td>
					</xsl:for-each>
				</tr>
			</thead>
			<tbody>
				<xsl:for-each select="table/body">
					<tr>
						<xsl:for-each select="column">
							<td>
								<xsl:value-of select="." />
							</td>
						</xsl:for-each>
					</tr>
				</xsl:for-each>
			</tbody>
		</table>
	</xsl:template>

</xsl:stylesheet>